C99ism.
authorMorten Welinder <terra@gnome.org>
Mon, 2 Aug 2004 16:12:10 +0000 (16:12 +0000)
committerMorten Welinder <mortenw@src.gnome.org>
Mon, 2 Aug 2004 16:12:10 +0000 (16:12 +0000)
2004-08-02  Morten Welinder  <terra@gnome.org>

* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkentry.c

index 975a810e0bd91cc58626b723a39d6434fb41b140..68265e5977f311954b7859abb8714452a2523200 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-02  Morten Welinder  <terra@gnome.org>
+
+       * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
+
 Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtktextview.[hc]: 
index 975a810e0bd91cc58626b723a39d6434fb41b140..68265e5977f311954b7859abb8714452a2523200 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-02  Morten Welinder  <terra@gnome.org>
+
+       * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
+
 Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtktextview.[hc]: 
index 975a810e0bd91cc58626b723a39d6434fb41b140..68265e5977f311954b7859abb8714452a2523200 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-02  Morten Welinder  <terra@gnome.org>
+
+       * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
+
 Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtktextview.[hc]: 
index 975a810e0bd91cc58626b723a39d6434fb41b140..68265e5977f311954b7859abb8714452a2523200 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-02  Morten Welinder  <terra@gnome.org>
+
+       * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
+
 Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtktextview.[hc]: 
index d82ea697afb1e751bd93296d74ebe1641df1a207..b4a08d8ff698f588688524b7c310f62c23cab580 100644 (file)
@@ -531,7 +531,7 @@ gtk_entry_class_init (GtkEntryClass *class)
                                                          TRUE,
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));
 
-    g_object_class_install_property (gobject_class,
+  g_object_class_install_property (gobject_class,
                                    PROP_INVISIBLE_CHAR,
                                    g_param_spec_unichar ("invisible_char",
                                                         P_("Invisible character"),
@@ -1609,9 +1609,10 @@ gtk_entry_motion_notify (GtkWidget      *widget,
        {
          GdkDragContext *context;
          GtkTargetList *target_list = gtk_target_list_new (NULL, 0);
-         gtk_target_list_add_text_targets (target_list);
          guint actions = entry->editable ? GDK_ACTION_COPY | GDK_ACTION_MOVE : GDK_ACTION_COPY;
-         
+
+         gtk_target_list_add_text_targets (target_list);
+
          context = gtk_drag_begin (widget, target_list, actions,
                          entry->button, (GdkEvent *)event);